import { hvigor } from '@ohos/hvigor';
import { appTasks } from '@ohos/hvigor-ohos-plugin';
import { ClassTransformerCodeGenPlugin } from 'quick-transformer-codegen-plugin';

export default {
    system: appTasks,  /* Built-in plugin of Hvigor. It cannot be modified. */
    plugins:[
      ClassTransformerCodeGenPlugin(hvigor, {
        enable: true, //是否启用, 默认 debug 包为 false, release 包为 true
        preventModifySourceCode: true, //是否避免修改源码, 默认 true
        whiteDirList: ['/entry/src/main/ets/model', '/entry/src/main/ets/model2']
      })
    ]
}
